home *** CD-ROM | disk | FTP | other *** search
- Path: taos.arc.unm.edu!slip-1
- From: trobey@arc.unm.edu (Thomas H. Robey)
- Newsgroups: comp.os.linux.setup,comp.os.linux.misc,comp.os.linux,comp.lang.c,comp.lang.c++
- Subject: Re: problems with GCC
- Date: Wed, 17 Apr 96 13:41:27 GMT
- Organization: Spectra Research Institute
- Message-ID: <4l2se7$894_002@arc.unm.edu>
- References: <4l1and$iql@news.ran.es>
- NNTP-Posting-Host: slip-1.arc.unm.edu
- X-Newsreader: News Xpress Version 1.0 Beta #4
-
- In article <4l1and$iql@news.ran.es>,
- chano@ran.es (Chano G≤mez Martφnez) wrote:
- -First of all, I want to apologize for my awful English.
- -
- -Now, the C stuff :
- -
- -I'm trying to port a C program from Borland C++ 3.1 to GCC under
- -Linux.
- -My problem is that I can't use any function from math.h !!!
-
- Try -lm on the link line. The problem is that libm.a (the math library) is
- not being linked into your program, so no math functions are resolved. You
- may also have to tell the linker where libm.a is located if it isn't in one of
- the standard places.
-
-